﻿<%@ Control Language="C#" Inherits="Forum.Business.RoleAdd, Forum.Business" AutoEventWireup="true" %>

<script type="text/javascript">
    function CheckValue()
    {
        AssertNull(event, '<%= subjectTextBox.ClientID %>', '角色名称不能为空！');
    }
</script>

<div class="AdminArea">
    <fieldset>
        <legend><ctrl:ResourceLiteral runat="server" ResourceName="System_ControlPanel_Role_AddControlTitle" ResourceFile="ControlPanelResources.xml" /></legend>
        <div class="FormRow">
            <ctrl:ResourceLabel CssClass="FieldName" runat="Server" ControlToLabel="subjectTextBox" ResourceFile="ControlPanelResources.xml" ResourceName="System_ControlPanel_Role_Name" />
            <ctrl:ValuedTextBox Runat="server" CssClass="InputField MiddleWidth" id="subjectTextBox" />
        </div>
        <div class="FormRow SubmitButtonRow">
            <ctrl:Resourcebutton OnClientClick="CheckValue()" id="saveButton" ResourceName="Save" CssClass="Button" Runat="server"></ctrl:Resourcebutton>
        </div>
    </fieldset>
</div>